#{extends 'noTab.html' /} #{set title: 'SuperSoft Search Results' /}

<h4><a href="@{Application.index()}">Back to First Page</a></h4>
<br/>

<h4>Topics by name</h4>
#{list items:topicByNameResult, as:'product'}
    
#{if !(product.status == 3) && (!(product.entity.organization.isSecret()) || product.entity.organization.isMember(id))}
   <a href = @{Browse.viewTopic(product.id)} class="standardLink"> ${product.name}</a><br/>
#{/if}

#{/list}
#{else}
    No topics match your key word
#{/else}
<br/><br/>

<h4>Topics by tag</h4>
#{list items:topicByTagResult, as:'product'}
    
#{if !(product.status == 3) && (!(product.entity.organization.isSecret()) || product.entity.organization.isMember(id))}
   <a href = @{Browse.viewTopic(product.id)} class="standardLink"> ${product.name}</a><br/>
#{/if}
#{else}
     secret : ${product.name} <br>
#{/else}
#{/list}
#{else}
    No topics related to your key word
#{/else}
<br/><br/><br/>
